<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
[#include "/webpage/common/common_css.html"/]
<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="30">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="30"><img src="${cache}/images/tab_03.gif" width="15" height="30" /></td>
        <td width="1101" background="${cache}/images/tab_05.gif">
        <img src="${cache}/images/311.gif" width="16" height="16" /> 
		    <span class="STYLE4">${title}</span></td>
        <td width="281" background="${cache}/images/tab_05.gif" style="text-align:right;cursor:pointer" 
             onclick="location.href='${base}/lotteryService.do';"  >
              <img src="${cache}/images/002.gif" width="14" height="14" />
              <label style="font-size:12px;">返回</label>
        </td>
        <td width="14"><img src="${cache}/images/tab_07.gif" width="14" height="30" /></td>
      </tr>
    </table>
	</td>
  </tr>
  <tr>
    <td>
	   <table width="100%" border="0" cellspacing="0" cellpadding="0" >
       <tr style="height:20px;">
        <td width="9" background="${cache}/images/tab_12.gif">&nbsp;</td>
        <td bgcolor="#f3ffe3" style="width:20%"></td>
        <td bgcolor="#f3ffe3" ></td>
        <td width="9" background="${cache}/images/tab_16.gif">&nbsp;</td>
      </tr>
      <tr>
        <td width="9" background="${cache}/images/tab_12.gif">&nbsp;</td>
         <td bgcolor="#f3ffe3" style="width:10%"></td>
        <td bgcolor="#f3ffe3">  
                <form id="lotteryForm" method="post"  action="${base!}/lotteryService/updateLottery.do"> 
                <input type="hidden" name="lottery*hash" value="${lottery.hash!}" /> 
                <input type="hidden" name="lottery*id" value="${lottery.id!}" /> 
                  <table style="width:100%;font-size:12px;" cellspacing="5px" cellpadding="5px">
                       <tr>
                          <td style="text-align:right">彩种类型:</td>
                          <td style="text-align:left">
                               <select name="lottery*lotteryType" style="width:150px" 
                                 id="lotteryType"
                                 onclick="changePlayGroup()"> 
                                         [#list lotteryTypes as ty]
                                            <option value="${ty.value!}"
                                                [#if lottery.lotteryType?exists&&lottery.lotteryType==ty.value]selected[/#if]
                                            >${ty.name!}</option>
                                         [/#list]
                                </select>
                          </td>
                       </tr>
                       <tr>
                          <td style="text-align:right">默认玩法组:</td>
                          <td style="text-align:left">
                                <select name="lottery*defailtPlayGroupId" id="defailtPlayGroupId" style="width:150px"> 
                                         
                                </select>
                          </td>
                       </tr>
                        <tr>
                          <td style="text-align:right">彩种名称:</td>
                          <td style="text-align:left">
                              <input name="lottery*lotteryLname" id="menuName"  value="${lottery.lotteryLname!}"/>
                          </td>
                       </tr>
                       <tr>
                          <td style="text-align:right">彩种简称:</td>
                          <td style="text-align:left">
                              <input name="lottery*lotterySname" id="menuName"  value="${lottery.lotterySname!}"/>
                          </td>
                       </tr>
                        <tr>
                          <td style="text-align:right">彩种期数:</td>
                          <td style="text-align:left">
                              <input name="lottery*lotteryNum" value="${lottery.lotteryNum!}"/>
                          </td>
                       </tr>
                       <tr> 
                          <td style="text-align:right">停止投注间隔:</td>
                          <td style="text-align:left">
                              <input name="lottery*lotteryInterval" value="${lottery.lotteryInterval!}"/>
                          </td>
                       </tr>
                       <tr>
                          <td style="text-align:right">彩种序列:</td>
                          <td style="text-align:left">
                              <input name="lottery*lotterySeq" value="${lottery.lotterySeq!}"/>
                          </td>
                       </tr>
                       <tr>
                          <td style="text-align:right">彩种投注号码:</td>
                          <td style="text-align:left">
                              <textarea name="lottery*lotteryCodelist" cols="40" rows="5">${lottery.lotteryCodelist!}</textarea>
                          </td>
                       </tr>
                       <tr>
                          <td style="text-align:right">备注:</td>
                          <td style="text-align:left">
                               <textarea name="lottery*lotteryDesc" cols="40" rows="5">${lottery.lotteryDesc!}</textarea>
                          </td>
                       </tr>
                       <tr>
                          <td style="text-align:right">彩种状态:</td>
                          <td style="text-align:left">
                              <select name="lottery*lotteryStatus" style="width:150px">
                                <option value="Y" 
                                [#if lottery.lotteryStatus?exists&&lottery.lotteryStatus=="Y"]selected[/#if]>开启</option>
                                <option value="N"
                                [#if lottery.lotteryStatus?exists&&lottery.lotteryStatus=="N"]selected[/#if]>关闭</option>
                              </select>
                          </td>
                       </tr>
                        <tr style="height:15px;">
                          <td colspan="2">
                          </td>
                       </tr> 
                        <tr>
                          <td style="width:15%"></td>
                          <td>
                              <input type="button" value="保存" onclick="saveLottery()" />
                                &nbsp;&nbsp;
                               <input type="reset" value="重置"/>
                          </td>
                       </tr> 
                    </table>
               </form> 
        </td>
        <td width="9" background="${cache}/images/tab_16.gif">&nbsp;</td>
      </tr>
    </table>
    </td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr height="30">
        <td width="15" >
        <img src="${cache}/images/tab_20.gif" width="15"   /></td>
        <td background="${cache}/images/tab_21.gif" style="text-align:center"> 
        </td>
        <td width="14"><img src="${cache}/images/tab_22.gif" width="14"  /></td>
      </tr> 
</table>
[#include "/webpage/common/common_js.html"/]
<script type="text/javascript">
   var defaultPlayGroupId ="${lottery.lotteryPlaygroupid!}";
</script>
<script type="text/javascript" src="${cache}/js/lottery/lotteryInfo.js"></script> 
</body>
</html>
